<template>
  <el-container style="height: 100%">
    <el-aside width="auto">
      <common-asider></common-asider>
    </el-aside>
    <el-container>
      <el-header>
        <common-header></common-header>
      </el-header>
      <common-tag></common-tag>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
export default {
  name: "MainContainer",
  data() {
    return {};
  },
  components: {
    CommonAsider: () => import("../components/CommonAsider.vue"),
    CommonHeader: () => import("../components/CommonHeader.vue"),
    CommonTag: () => import("../components/CommonTags.vue"),
  },
};
</script>

<style scoped lang='less'>
.el-header {
  background-color: #333;
}

.el-main {
  padding-top: 0;
}

.el-aside {
  text-align: left;
}
</style>